import { Router } from 'express';
import menuController from '../controllers/menuController.js';

const router = Router();

// 定义菜单相关路由
router.get('/menu', menuController.getMenu);
router.get('/menu/:id', menuController.getMenuById);

export default router;
    